package com.warm.base.design.b_responsibility;

/**
 * @Date: 2019/11/22 14:12
 * @Author: LChuang
 * @Description:
 */
public abstract class Handler {

    private Handler nextHandler;

    public abstract void handleRequest();

    public Handler getNextHandler(){
        return nextHandler;
    }

    public void setNextHandler(Handler nextHandler){
        this.nextHandler = nextHandler;
    }
}
